package com.authine.cloudpivot.web.api.service.impl;
import com.authine.cloudpivot.web.api.dao.MeetingActivitiesMapper;
import com.authine.cloudpivot.web.api.service.MeetingActivityService;
import com.authine.cloudpivot.web.api.vo.MeetingActivities;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

@Slf4j
@Service
public class MeetingActivityServiceImpl implements MeetingActivityService {
    @Autowired
    private MeetingActivitiesMapper meetingActivitiesMapper;

    @Override
    public List<MeetingActivities> GetUpdatedMeetingActivities(String updatetime) {

        List<MeetingActivities> meetingActivitiesList = meetingActivitiesMapper.selectActivitiesByUpdateTime(updatetime);

        return meetingActivitiesList;
    }
}
